.TH tapi\-archive 1 2019-03-19 Darwin "TAPI Tool Documentation"
.SH NAME
tapi\-archive \- Merge or thin text-based stub files
.SH SYNOPSIS
\fItapi archive\fR [\-\-help] [\-\-version]

\fItapi archive\fR \-\-info <file>

\fItapi archive\fR \-\-verify\-arch <architecture> <file>

\fItapi archive\fR \-\-extract <architecture> <file> \-o <file>

\fItapi archive\fR \-\-remove <architecture> <file> \-o <file>

\fItapi archive\fR \-\-merge <files> \-o <file>


.SH DESCRIPTION
.PP
The archive command is used to inspect and manipulate text-based stub files.

.SH OPTIONS
.PP
\-\-info
.RS 4
List the architectures in the input file.
.RE

.PP
\-\-verify\-arch <architecture>
.RS 4
Test if the specified architecture is in the input file. Returns 0 on success
and 1 otherwise.
.RE

.PP
\-\-extract <architecture>
.RS 4
Extracts the specified architecture and writes the result to a new file.
.RE

.PP
\-\-remove <architecture>
.RS 4
Removes the specified architecture and writes the result to a new file.
.RE

.PP
\-\-merge
.RS 4
Merges the provides input files into a single text-based stub file. This only
works if the input files are for the same library and the only difference are
the architectures.
.RE

.PP
\-o <file>
.RS 4
Write output to <file>.
.RE

.PP
\-\-help
.RS 4
Prints the list of options.
.RE
.PP

\-\-version
.RS 4
Prints the program version.
.RE

.SH SEE ALSO
tapi(1), ld(1), lipo(1)
